package com.aimao.blog.dao;


import com.aimao.blog.pojo.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TagMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    int insertSelective(Tag record);

    Tag selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Tag record);

    int updateByPrimaryKey(Tag record);

    List<Tag> selectAll();

    List<Tag> selectAllByKeyWord(String keyWord);

    List<Tag> selectAllByIds(@Param("ids") List<Integer> ids);
}